~function(window){
	window.onload = () => {
		new Vue({
			el: '.container',
			data(){
				return{
					editor,
					href: null,
					data_list: null
				}
			},
			computed: {
				detail(){
					return this.data_list[this.href]
				},
				back(){
					return this.href !== 0
				},
				forward(){
					return this.href !== this.data_list.length-1
				}
			},
			created(){
				this.href = +location.href.split('=')[1]
				this.data_list = JSON.parse(sessionStorage.gk)
			}
		})
	}
}(window)